package net.xuhf.hello;

import org.redisson.api.RBucket;
import org.redisson.api.RedissonClient;

public class HelloWorld {

    public static void main(String[] args) {
        RedissonClient rc = RedissonUtil.getClient();
        rc.getBucket("name").set("xuhf");
        RBucket<String> name = rc.getBucket("name");
        System.out.println(name.get());

    }


}
